package com.briup.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 全局异常处理相关属性
 * @author wood
 */
@ConfigurationProperties(prefix = "briup.config.global-exception-handler")
@Data
@Component
public class GlobalExceptionConfigProperties {

    // 是否开启全局异常处理
    private boolean enabled;

}
